#include<stdio.h>
#include<math.h>
int main(void)
{
	float a, b, c, disc, p, q;
	printf("Please enter the coefficients a,b,c:");
	scanf_s("%f,%f,%f", &a, &b, &c);
	disc = b * b - 4 * a * c;
	p = -b / (2 * a);
	q = sqrt(disc) / (2 * a);
	printf("x1=%6.4f,x2=%6.4f\n", p + q, p - q);
	return 0;

}